Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Managing Quaternions


Q3Quaternion_Dot

You can use the Q3Quaternion_Dot function to determine the dot product of two quaternions.

float Q3Quaternion_Dot (
const TQ3Quaternion *q1, 
const TQ3Quaternion *q2);
q1
A quaternion.
q2
A quaternion.
DESCRIPTION
The Q3Quaternion_Dot function returns, as its function result, a floating-point value that is the dot product of the two quaternions q1 and q2.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996